<div class="kt-modal-content">
    <div class="modal-header">
        <button type="button" class="close" ng-click="$dismiss()" aria-label="Close">
            <em class="ion-ios-close-empty sn-link-close"></em>
        </button>
        <h4 class="modal-title">选择设备分组</h4>
    </div>
    <div class="modal-body">
        <div style="margin: 0;" ba-panel ba-panel-class="auto-hei-panel with-scroll tree-panel light-text" ba-panel-title="设备分组树" ng-if="treeshow">
            <div id="myTreeId" js-tree="basicConfig" ng-model="treeData" tree="treeInstance" tree-events="ready:readyCB"></div>

            <br>
            <h5>当前选择：{{selectedNode.text}}</h5>
        </div>
    </div>

    <div class="modal-footer">
        <button type="button" class="btn btn-danger" ng-click="ok()">确认</button>
        <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>
    </div>
</div>